import { Wallet } from '@app/wallet'

/**
 * 生成新地址
 */
export async function newAccount(wallet: Wallet, params: any, callback: any) {
    const account = await wallet.accounts.create()
    callback(undefined, account)
}
